package cool.mtc.minghe.web.config;

import lombok.Data;

import java.security.Principal;

/**
 * @author 明河
 */
@Data
public class WebSocketPrincipal implements Principal {

    /**
     * 用户唯一标识
     */
    private String id;

    /**
     * header中simpSessionId
     */
    private String sessionId;

    private String name;
}
